package com.junlaninfo.controller;

import com.junlaninfo.log.LogBlockQueue;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by 辉 on 2020/9/12.
 */
@RestController
public class TestLogController {
    @GetMapping("/log")
    public  String  test(){
        String log= "名字：薛雄辉"+"年龄：20";
        boolean b = LogBlockQueue.addLog(log);
        return  "写入日志成功";
    }
}
